package com.lottery.htbc.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lottery.htbc.mapper.plugin.HtbcMapper;
import com.lottery.htbc.pojo.BetTask;
import com.lottery.htbc.pojo.ProfitAnalysis;

public interface BetTaskMapper  extends HtbcMapper<BetTask> {

	/**
	 * 批量插入任务
	 * @param betTasks
	 */
	void saveBatch(@Param("betTasks")List<BetTask> betTasks);

	/**
	 * 通过taskId 进行累加
	 * @param betTasks
	 */
	void cumulationBatchByTaskId(@Param("betTasks")List<BetTask> betTasks);

	/**
	 * 重建表
	 */
	void truncateTable();

	/**
	 * 查询盈利分析
	 * @return
	 */
	List<ProfitAnalysis> queryTaskConfigInfo();

}
